package com.bdzl.pub.entity.loan;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;



/**
 * 融资租赁订单实际用车人信息表
 *
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-05-11 15:23:42
 */
@Data
public class OrderUsevehDO implements Serializable {
	private static final long serialVersionUID = 1L;

	//ID,主键，自增
	private Integer uvId;
	//所属订单编号
	private String uvOdr;
	//身份证 ID，外键
	private String uvCardId;
	//负债/资产情况
	@NotNull(message = "请填写负债/资产情况！")
	private String uvLiabilities;
	//本人无法申请的原因
	@NotNull(message = "请填本人无法申请的原因！")
	private String uvReason;
	//是否为担保人
/*Y：是，1：不是*/
	@NotNull(message = "请选择是否为担保人！")
	private String uvGuaranteeFlag;
	//创建人编号,外键
	private Integer uvCreator;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone="GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	private Date uvCretime;
	//最近修改人用户 ID，外键
	private Integer custModuser;
	//最近修改时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone="GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	private Date custModtime;
}
